/**
 * 公共接口
 */
import { get, post } from "@/utils/request";

/**
 * 获得外出列表
 */
export const getTodoOutList = (data) => {
  let pageNum = data.pageNum;
  delete data.pageNum;
  return post(`/todo/getOutList?pageNum=${pageNum}`, data);
};

/**
 * 获得外出筛选条
 */
export const getTodoOutMenu = (params) => {
  return get("todo/getOutMenu", params);
};
